package com.ruoyi.cbs.approval.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核配置对象 cbs_approval_config
 * 
 * @author ruoyi
 * @date 2025-11-12
 */
public class ApprovalConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核配置主键 */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long parentId;

    /** 配置编号 */
    @Excel(name = "配置编号")
    private String code;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String name;

    /** 配置描述 */
    @Excel(name = "配置描述")
    private String descInfo;

    /** 次序号 */
    @Excel(name = "次序号")
    private Integer seqNum;

    /** 审核类型 */
    @Excel(name = "审核类型")
    private String approvalType;

    /** 删除标志（1代表不展示 0代表展示） */
    private String display;

    /** 删除标志（1代表存在 0代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public String getDescInfo() {
        return descInfo;
    }

    public void setDescInfo(String descInfo) {
        this.descInfo = descInfo;
    }

    public String getApprovalType() {
        return approvalType;
    }

    public void setApprovalType(String approvalType) {
        this.approvalType = approvalType;
    }

    public void setSeqNum(Integer seqNum)
    {
        this.seqNum = seqNum;
    }

    public Integer getSeqNum()
    {
        return seqNum;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("code", getCode())
            .append("name", getName())
            .append("descInfo", getDescInfo())
            .append("seqNum", getSeqNum())
            .append("approvalType", getApprovalType())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
